package com.edu.zju.scs.panacea.entity.vo;

import com.edu.zju.scs.panacea.entity.resource.Loc;
import com.edu.zju.scs.panacea.utils.StringUtil;

import java.util.List;

/**
 * @Author: Yue Liang
 * @Date: 2018-12-29 13:20
 */
public class LocVO {
    /**
     * 资源位自增ID
     */
    private Long id;

    /**
     * 资源位名称，默认为default
     */
    private String name;

    /**
     *
     */
    private Long devId;

    /**
     * 资源位高度（可播放广告部分的屏幕高度）
     */
    private Integer height;

    /**
     * 资源位宽度（可播放广告部分的屏幕宽度）
     */
    private Integer width;

    /**
     * 设备所在省份
     */
    private String province;

    /**
     * 设备所在城市
     */
    private String city;

    /**
     * 设备所在区域
     */
    private String district;


    private List<Long> templates;


    public List<Long> getTemplates() {
        return templates;
    }

    public void setTemplates(List<Long> templates) {
        this.templates = templates;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public Long getDevId() {
        return devId;
    }

    public void setDevId(Long devId) {
        this.devId = devId;
    }

    @Override
    public String toString() {
        return "LocVO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", height=" + height +
                ", width=" + width +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", district='" + district + '\'' +
                ", templates=" + templates +
                '}';
    }
}
